package cn.ccit.base;

/**
 * 所有类的公共字段常量放置位置
 * 
 * @author wanghao
 * @since 2016.10.08
 */
public class BaseConstants {
	/**
	 * 常用字段	
	 */
	public static final String YEAR="year";
	public static final String MONTH="Month";
	public static final String DATE="date";
	public static final String CRTEAT_TIME="creatTime";
	public static final String PACKAGE_ENTITES ="cn.whdreamblog.entites";
	
	/**
	 * 评论默认值
	 */
	public static final int DEAFAULT_COMMENT_CODE = -1;//指代给网站留言
	
	/**
	 * 常见错误
	 */
	public static final int SUCESSFUL_STATE_CODE=200;
	public static final int FAIL_STATE_CODE=101;
	public static final int NOT_FOUND_CODE=102;
	public static final int FILE_UPLOAD_FAIL_CODE=103;
	public static final String SUCESSFUL_STATE_MESSAGE="OK";
	public static final String FAIL_STATE_MESSAGE="参数错误";
	public static final String NOT_FOUND_MESSAGE="数据未找到";
	public static final String FILE_UPLOAD_FAIL_MESSAGE="文件上传失败";
}
